package com.zh.test.lamdba;

import com.google.common.base.Function;
import com.zh.test.Steam.Person;

import java.util.Arrays;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @Author zh
 * @Description  练习lamdba语法
 * @Date 2020/4/24 
 * @Param 
 * @return 
 **/
public class lamdbaTest2 {

    public static void show(lamdbaInterface lamdbaInterface,String name){
        lamdbaInterface.show(name);
    }
    public static void main(String[] args) {

     show((S)->{
        String[]s =  S.split("");
        Arrays.asList(s).stream().map(String::toUpperCase).forEach((S1)->{S1.toLowerCase();System.out.println(S1);});
     },"abc");



    }
}
